package com.patent.domain.po;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 缴费记录表
 */
public class PaymentRecord {
    private Integer id;
	//专利信息主键
    private Integer patentId;
    //用户手机号
    private String userMobile;
	//第几年年费
    private String type;
	//付款费用(总费用)
    private BigDecimal paymentAmount;
	//付款时间（可用作代理机构真正去付款的时间）
    private Date paymentDate;
	//操作人(预备后台操作用)
    private String operator;
	//操作时间
    private Date operatorDate;
	//官方费用
	private Double officialAmount;
	//代理费用
	private Double agentAmount;

	private Date createDate;

	private String createPerson;

	private Date updateDate;

	private String updatePerson;

	private Integer validFlag;
	//订单状态（1：未支付 2：支付成功 3：支付失败）
	private Integer orderState;
	//交易流水号（支付返回）
	private String transNo;
	//订单完成时间
	private Date paidTime;
	//订单号(P开头)
	private String orderNo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPatentId() {
        return patentId;
    }

    public void setPatentId(Integer patentId) {
        this.patentId = patentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public Date getOperatorDate() {
        return operatorDate;
    }

    public void setOperatorDate(Date operatorDate) {
        this.operatorDate = operatorDate;
    }

	public String getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	public Double getOfficialAmount() {
		return officialAmount;
	}

	public void setOfficialAmount(Double officialAmount) {
		this.officialAmount = officialAmount;
	}

	public Double getAgentAmount() {
		return agentAmount;
	}

	public void setAgentAmount(Double agentAmount) {
		this.agentAmount = agentAmount;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreatePerson() {
		return createPerson;
	}

	public void setCreatePerson(String createPerson) {
		this.createPerson = createPerson;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdatePerson() {
		return updatePerson;
	}

	public void setUpdatePerson(String updatePerson) {
		this.updatePerson = updatePerson;
	}

	public Integer getValidFlag() {
		return validFlag;
	}

	public void setValidFlag(Integer validFlag) {
		this.validFlag = validFlag;
	}

	public Integer getOrderState() {
		return orderState;
	}

	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}

	public String getTransNo() {
		return transNo;
	}

	public void setTransNo(String transNo) {
		this.transNo = transNo;
	}

	public Date getPaidTime() {
		return paidTime;
	}

	public void setPaidTime(Date paidTime) {
		this.paidTime = paidTime;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}
}